#ifndef INTEGRATOR_H
#define INTEGRATOR_H

#define TOLERATE	1e-5


class Integrator
{
public:
	Integrator(void);
	~Integrator(void);

	void InitIntegrator(int scale);
	void SparseSolver();
	void Jacobi();
	void CG();
	void GaussElimination();

	float**		check_A;
	float*		check_b;
	float*		check_buffer;
	float*		check_x;
	float*		check_residual;
	float*		check_p;
	float*		check_residual_cache;

	int			scale;
};

#endif